<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            border-collapse: collapse;
            border-spacing: spacing;
        }
        table td{
            border: 1px solid black;
            padding: 10px  30px;
        }
    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <td>ID</td>
                <td>NAME</td>
            </tr>
        </thead>
        <tbody>
            {{ each list type }}
            <tr>
                <td>{{ type.typeId }}</td>
                <td>{{ type.typeName }}</td>
            </tr>
           {{ /each }}
        </tbody>
    </table>
</body>
</html>